package com.nari.ncps.screen.dto.excelimport.ne;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 风电实时功率表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_ne_opermon_rt_wind")
@Schema(name = "NeOpermonRtWind对象", description = "风电实时功率表")
public class NeOpermonRtWind implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年份")
    @TableField("year")
    private Integer year;

    @Schema(description = "月份")
    @TableField("month")
    private Integer month;

    @Schema(description = "日")
    @TableField("day")
    private Integer day;

    @Schema(description = "日期，格式为yyyy-MM-dd")
    @TableField("date")
    private Date date;

    @Schema(description = "小时(0-23)")
    @TableField("hour")
    private Byte hour;

    @Schema(description = "分钟(0-59)")
    @TableField("minute")
    private Byte minute;

    @Schema(description = "实时功率(MW)")
    @TableField("realtime_power")
    private BigDecimal realtimePower;

    @Schema(description = "理论功率(MW)")
    @TableField("theoretical_power")
    private BigDecimal theoreticalPower;

    @Schema(description = "风速(m/s)")
    @TableField("wind_speed")
    private BigDecimal windSpeed;

    @Schema(description = "风向(0-360度)")
    @TableField("wind_direction")
    private Integer windDirection;

    @Schema(description = "风电场编号")
    @TableField("wind_farm_id")
    private String windFarmId;

    @Schema(description = "风电场名称")
    @TableField("wind_farm_name")
    private String windFarmName;

    @Schema(description = "采集间隔(如5分钟、15分钟)")
    @TableField("collection_interval")
    private String collectionInterval;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @Schema(description = "创建人")
    @TableField("creator")
    private String creator;

    @Schema(description = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @Schema(description = "更新人")
    @TableField("updater")
    private String updater;
}
